package ro.gillardon.persistence.document;

import ro.gillardon.commons.config.ConfigParam;
import ro.gillardon.commons.config.ConfigProvider;
/**
 * Abastract class which provides informations for accessing the database.
 *
 * @author haiurar
 */
public abstract class AbstractApi {

  /**
   * default protected constructor.
   */
  protected AbstractApi() {
    // default protected constructor
  }

  protected static final String DATABASE_URL = ConfigProvider.getProperty(ConfigParam.DOCUMENT_DB_URL);
  protected static final String USERNAME = ConfigProvider.getProperty(ConfigParam.BTP_DB_USERNAME);
  protected static final String PASSWORD = ConfigProvider.getProperty(ConfigParam.BTP_DB_PASSWORD);
}
